package cn.bugstack.chatgpt.data.domain.openai.service.rule;

import cn.bugstack.chatgpt.data.domain.openai.model.aggregates.ChatProcessAggregate;
import cn.bugstack.chatgpt.data.domain.openai.model.entity.RuleLogicEntity;

/**
 * @description 规则过滤接口 该接口实现类有两个，一个保证过滤敏感词，一个保证频次限制
 */
public interface ILogicFilter {

    RuleLogicEntity<ChatProcessAggregate> filter(ChatProcessAggregate chatProcess) throws Exception;

}
